package yf.mall.entity;


import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 活动实体
 * 表名 mall_act
 *
 * 
 * 
 * @date Sun May 24 14:16:14 CST 2020
 */
@Setter
@Getter
public class SaleTypeInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //产品ID
    private Long goodsId;
        //是否可以转货
    private Integer transfer;
        //是否可以发货
    private Integer delivery;
        //必需积分
    private BigDecimal point;
        //最多使用换购券
    private BigDecimal maxVoucher;
        //最多使用优惠券
    private BigDecimal maxCoupon;
    //最多使用现金券
    private BigDecimal maxCash;
        //积分奖励
    private String pointReward;
        //ENUM-是否立即返利:"是-1","否-0"
    private Integer pointType;
        //优惠券奖励
    private String couponReward;
        //ENUM-是否立即返利:"是-1","否-0"
    private Integer couponType;
        //换购券奖励
    private String voucherReward;
        //ENUM-是否立即返利:"是-1","否-0"
    private Integer voucherType;
        //学分奖励
    private String cashReward;
        //ENUM-是否立即返利:"是-1","否-0"
    private Integer cashType;
        //区域奖励省_市_县
    private String areaReward;
        //ENUM-是否立即返利:"是-1","否-0"
    private Integer areaType;
        //管理费
    private String managerReward;
        //ENUM-是否立即返利:"是-1","否-0"
    private Integer managerType;
    //赠送清货券
    private String clearReward;
    //ENUM-是否立即返利:"是-1","否-0"
    private Integer clearType;

    public SaleTypeInfoEntity(){

    }

    //产品名字
    private String goodsName;

}
